package com.atom.process.cnmuseum.cj.entity.dj;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.atom.common.CommonConstant;
import com.atom.process.cnmuseum.cj.entity.CjBaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * Title: DjXgbmDO
 * Description: 藏品编目修改单据表
 * @author WEWE
 * @date 2016年11月4日 上午9:43:06
 * @version 1.0
 */
@Entity
@Table(name="dj_cj")
public class DjCjDO extends CjBaseEntity {
  
  /** serialVersionUID*/
  private static final long serialVersionUID = 1L;
  
  /** ID*/
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)    
  @Column(name="ID")
  private int id;
  
  /** 归档日期*/
  @Column(name="GDRQ")
  @DateTimeFormat(pattern = CommonConstant.DATETIME_PATTERN)
  @JsonFormat(pattern = CommonConstant.DATETIME_PATTERN, timezone = CommonConstant.TIMEZONE)
  private Date guiDangRiQi;

  public Date getGuiDangRiQi() {
    return guiDangRiQi;
  }

  public void setGuiDangRiQi(Date guiDangRiQi) {
    this.guiDangRiQi = guiDangRiQi;
  }
  
  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public DjCjDO() {
    // TODO Auto-generated constructor stub
  }

}
